package com.draemon.haixiawenti.sms.api;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import springfox.documentation.annotations.ApiIgnore;

/**
 * <p></p>
 *
 * @author yangz
 * @version latest
 * @date 2016/11/7
 */
@FeignClient(name = "smsapi", url = "${sms.host.url}")
@ApiIgnore
public interface SMSApi {
    @ApiIgnore
    @RequestMapping(value = "/20150822/industrySMS/sendSMS", method = RequestMethod.POST)
    String sendSMS(@RequestParam("accountSid") String accountSid, @RequestParam("smsContent") String smsContent, @RequestParam("to") String to, @RequestParam("timestamp") String timestamp, @RequestParam("sig") String sig, @RequestParam("respDataType") String respDataType);

}
